package xjtu.se.articlecommunity.buser.articlemanage;

import xjtu.se.articlecommunity.buser.articlemanage.dto.articleDto;
import xjtu.se.articlecommunity.buser.articlemanage.dto.at_tabDto;

import java.util.List;
import java.util.Map;

public interface ArticleManageService {
    Map<String,Object> getArticleList(articleDto dto);
    
    boolean isValidArticle(String a_id);

    boolean isValidTabs(List<String> tabIds);

    void setArticleTabs(String a_id, List<String> tabIds);

    List<at_tabDto> queryTabList(String a_id);

    void setArticleStatus(articleDto dto);

    void deleteTabByID(String at_id);

    int findTabByName(String at_name);

    String generateTab(String at_name);

    List<at_tabDto> queryALLTabs();
}
